package com.jianda.commons.content;

import com.jianda.view.windows.Mainwindows;

import javax.swing.*;
import java.awt.*;
import java.awt.Color;

/**
 * 常量映射类
 */
public class Content {

    // static JFrame jFrame = Mainwindows.getInstance();

    // 退出文件保存路径
    public static String path = "/data/wave";

    // 波形高度
    public static double intervalWave = 0;

    // 波形间隔
    public static double intervalWaveGap = 0;


    // 画布宽
    public static double width = 0.0;

    // 画布高
    public static double height = 0.0;

    /**
     * 波形统一颜色
     */
    public static class ColorContent{
        // 颜色一
        public static Color color1 = Color.ORANGE;
        // 颜色二
        public static Color color2 = Color.PINK;
        // 颜色三
        public static Color color3 = Color.LIGHT_GRAY;
    }
}
